<<<<<<< HEAD
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache, private"> <!-- ========== HEADER ======================================== --> <!-- ========== CSS =========================================== -->
    <link type="text/css" rel="stylesheet" href="./css/common.css"> <!-- ========================================================== --> <!-- ========== USER CSS ====================================== -->
    <style type="text/css">
        /* <![CDATA[ */
    /* The user's original style can be described here */
        /* ]]> */
            #grandsight_ex_app{
                display:flex;
            }
            #sidebar{
                background-color:#c7793d80;
                height: 1000px;
                width: 180px;
                margin-top:-20px;
            }
            #backhome{
                margin-left:900px;
                margin-top:-146px;
                background-color: #c7793dd6;
                color:white;
                text-align: center;
                border: none;
                border-radius: 5px;
                position:absolute;
            }
            #BTNCMD_ADDMENU{
                position: absolute;
                margin-left:100px;
                margin-top:-20px;
                background-color: #c7793dd6;
                color:white;
                text-align: center;
                border: none;
                border-radius: 5px;
            }
            #delete{
                position: absolute;
                background-color: #c7793dd6;
                color:white;
                text-align: center;
                border: none;
                border-radius: 5px;
            }
            #button1{
                margin-top:5px;
                height:25px;
                background-color: #c7793dd6;
                color:white;
                text-align: center;
                border: none;
                border-radius: 5px;
            }
            #button2{
                margin-top:5px;
                height:25px;
                background-color: #c7793dd6;
                color:white;
                text-align: center;
                border: none;
                border-radius: 5px;
            }
            #button3{
                margin-top:5px;
                height:25px;
                background-color: #c7793dd6;
                color:white;
                text-align: center;
                border: none;
                border-radius: 5px;
            }
            #button4{
                margin-top:5px;
                height:25px;
                background-color: #c7793dd6;
                color:white;
                text-align: center;
                border: none;
                border-radius: 5px;
            }
            #table{
                float:left;
                margin-left:-10px;
                margin-top:20px;
                position: relative;
            }
            table{
                margin-left:100px;
                width:900px;
                /*两两相临边框合并*/
                border-collapse: collapse;
                padding:10px;
            }
            /*分组选择器：选择th和td标签*/
            th,td{
                border: 1px solid #999;
                text-align: center;
                padding: 20px 0;
            }
            /*后代选择器*/
            table thead tr{
                background-color: #ce8b57da;
                color: #fff;
            }
            table tbody tr:nth-child(odd){
                background-color: #eee;
            }
            table tbody tr:hover{
                background-color: #ccc;
            }
            table tbody tr td:first-child{
                color: #f40;
            }
    </style>
    <!-- ========================================================== -->
    <!-- ========== SCRIPT ======================================== -->
    <script type="text/javascript" src="jquery/jquery-1.8.3.min.js"></script>
    <script src="./js/vue/vue.js"></script>
    <script src="./js/vue/vue-i18n.js"></script>
    <script src="./js/jstz.js"></script>
    <script type="text/javascript" src="./js/denyDirectAccess.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/jquery.min.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/multilingualization.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/multilingual/buttonDef.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/multilingual/navigation.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/objectManipulation.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/dataCheckI18n.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/dataUtil.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/timeManipulation.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/svg.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/commonI18n.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/gb_gf_ezg.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/gb_gf_ezg_xaml.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/xaml.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/finalTaskForUserCommon.js" charset="UTF-8"></script> <!-- ========================================================== --> <!-- ========== MENU ========================================== -->
    <script type="text/javascript">writeTitle();</script>
    <script type="text/javascript">
        //<![CDATA[
            // Common header output
            // gf_page   : Page output (current page / all pages)
            // gf_title1 : Screen title 1 (up to 27 double-byte characters)
            // gf_title2 : Screen title 2 (up to 30 double-byte characters)
            // gf_id     : Screen ID
            // gf_comment: Screen comment
            // gf_onload : Specify the script when loading the screen (describe only when there is processing)
            // gf_fix_title1 : Screen title 1 (for Multilingual)
            // gf_fix_title2 : Screen title 2 (for Multilingual)
            gf_page=   "";
            gf_title1= "{{$t('TRANS_SYSTEM_MENU_MANA')}}";
            gf_title2= "{{$t('TRANS_MENU_MANA')}}";
            gf_id=     "MENU_MANA";
            gf_remarks="菜单管理";
            gf_onload= "";
            gf_fix_title1= "菜单管理";
            gf_fix_title2= "菜单管理";
            CreateHideMenu( gf_page , gf_title1 , gf_title2 , gf_id , gf_onload );
        //]]>
    </script> <!-- ========================================================== --> <!-- ========== MULTILINGUAL SCRIPT ============================ -->
    <script type="text/javascript">
        window.addEventListener('DOMContentLoaded', function() {
          initView();
        });
    </script> <!-- ========================================================== --> <!-- ========== INPUT CHECK SCRIPT ============================ -->
    <script type="text/javascript">
        //<![CDATA[
            function _chkInputValue() {
                return true;
            }
        //]]>
    </script> <!-- ========================================================== --> <!-- ========== USER SCRIPT =================================== -->
    <script type="text/javascript">
        //<![CDATA[

            // You can write your own script here

            function finalTaskForUser() {
        <!-- path_R_0-->
                    var $pathHiddens = $(".path");
                    for(let i = 0;i<$pathHiddens.length;i++){
                         const $path = $($pathHiddens[i])
                     <!--const name = $path.attr("name")-->
                         const valuevaluevalue = $path.val()
                         const $img = $path.parent().find("imgimgimgimg")
                         $img.attr("src",valuevaluevalue);
                    }
            }
             function onDelete(element){
             alert($(element).attr("name").substr(14));
                const value = $("#NMLLBL_MID_" + $(element).attr("name").substr(14)).text();
                //把mid的值放到删除按钮中
                $("[name=grandsight_ex_del]").val(value);
            }
            function onUpdate(element){
                //获得后端获取获取到的mid的值
                const value = $("[name=NMLLBL_MID_" + $(element).attr("name").substr(14) + "]").text();
                //把mid的值放到修改按钮中：按钮是不能存值的，应该放在隐藏域中
                $("[name=grandsight_ex_update]").val(value);
            }

        //]]>
    </script>
    <!-- ========================================================== -->
    <title>dummytitle</title> <!-- ========================================================== -->
</head> <!-- ========== CUSTOMIZE ===================================== -->
<body style="background-color:#FDFBF4">
<input type="hidden" id="grandsight_ex_multilingual" name="grandsight_ex_multilingual" value="">
<input type="hidden" id="grandsight_ex_locale" name="grandsight_ex_locale" value="">
<input type="hidden" id="grandsight_ex_default_locale" name="grandsight_ex_default_locale" value="">
<input type="hidden" id="grandsight_ex_disp_date_format" name="grandsight_ex_disp_date_format" value="">
<input type="hidden" id="grandsight_ex_time_zone" name="grandsight_ex_time_zone" value="">
<div id="wrapper">
    <div id="grandsight_ex_app" v-cloak>
        <!-- Screen name -->
        <div id="sidebar">
            <h1><span id="grandsight_ex_screen_title">点餐管理系统</span></h1>
            <input id="button1" name="BTNCMD_BACKHOME" onclick="document.main.COMMAND_NAME.value='COMMAND_BTNCMD_BACKHOME';SendBTN(this.name);" readonly size="xxxxxxxx" type="text" value="后台首页">
            <input id="button3" name="BTNCMD_MENU_MANA" onclick="document.main.COMMAND_NAME.value='COMMAND_BTNCMD_MENU_MANA';SendBTN(this.name);" readonly size="xxxxxxxx" type="text" value="菜单管理">
            <input id="button2" name="BTNCMD_ODER_MANA" onclick="document.main.COMMAND_NAME.value='COMMAND_BTNCMD_ODER_MANA';SendBTN(this.name);" readonly size="xxxxxxxx" type="text" value="订单管理">
            <input id="button4" name="BTNCMD_ACC_MANA" onclick="document.main.COMMAND_NAME.value='COMMAND_BTNCMD_ACC_MANA';SendBTN(this.name);" readonly size="xxxxxxxx" type="text" value="账户管理">
        </div>
        <div id="table">
            <input id="BTNCMD_ADDMENU" name="BTNCMD_ADDMENU" style="width:80px;height:15px" onclick="document.main.COMMAND_NAME.value='COMMAND_BTNCMD_ADDMENU';SendBTN(this.name);" readonly size="" type="text" value="添加菜品"><br>
            <input name="grandsight_ex_del" type="hidden" class="delete" id="grandsight_ex_del"  value="">
            <input name="grandsight_ex_update" type="hidden" class="update" id="grandsight_ex_update"  value="">
            <table id="menu">
                <thead>
                <tr>
                    <th>序号</th>
                    <th>菜品名称</th>
                    <th>菜品图片</th>
                    <th>价格</th>
                    <th>操作</th>
                    <th>配料信息栏</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td><span style="color:black" name="NMLLBL_MID" class="NMLLBL_NORMAL" id="NMLLBL_MID" value=""></span></td>
                    <td><span style="color:black" name="NMLLBL_MNAME" class="NMLLBL_NORMAL" id="NMLLBL_MNAME" value=""></span></td>
                    <td>
                        <input name="path" type="hidden" class="path" id="grandsight_ex_img"  value="">
                        <img src=" " alt="图片1" width="300px" height="180px">
                    </td>
                    <td><span style="color:black" name="NMLLBL_MPRICE" class="NMLLBL_NORMAL" id="NMLLBL_MPRICE" value=""></span></td>
                    <td>
                        <input id="update" style="background-color:#c7793dd6;color:white;text-align: center; border-radius: 5px;width:40px;height:15px;" name="BTNCMD_UPDATE"  onclick="onUpdate(this);document.main.COMMAND_NAME.value='COMMAND_BTNCMD_UPDATE';SendBTN(this.name);" type="text" value="修改"><br>
                        <!--          <input name="grandsight_ex_del" type="hidden" class="delete" id="grandsight_ex_del"  value="">-->
                        <input id="delete" style="background-color:#c7793dd6;color:white;text-align: center; border-radius: 5px;width:40px;height:15px;"name="BTNCMD_DELETE" style="width:60px;height:15px" onclick="onDelete(this);document.main.COMMAND_NAME.value='COMMAND_BTNCMD_DELETE';SendBTN(this.name);" readonly size="xxxxxxxx" type="text" value="删除">
                    </td>
                    <td>
                        <input id="pre" style="background-color:#c7793dd6;color:white;text-align: center; border-radius: 5px;width:70px;height:15px;" name="BTNCMD_PRE"  onclick="document.main.COMMAND_NAME.value='COMMAND_BTNCMD_UPDATE';SendBTN(this.name);" type="text" value="配料详情">
                    </td>
                </tr>

                </tbody>
                <tfoot>
                </tfoot>
            </table>
        </div>
    </div> <!-- ========================================================== --> <!-- ========== FOOTER ======================================== -->
    <script type="text/javascript">
        //<![CDATA[
            CreateFooter();
        //]]>
    </script> <!-- ========================================================== -->
</div>
</body>
</html>
=======
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache, private"> <!-- ========== HEADER ======================================== --> <!-- ========== CSS =========================================== -->
    <link type="text/css" rel="stylesheet" href="./css/common.css"> <!-- ========================================================== --> <!-- ========== USER CSS ====================================== -->
    <style type="text/css">
        /* <![CDATA[ */
    /* The user's original style can be described here */
        /* ]]> */
            #grandsight_ex_app{
                display:flex;
            }
            #sidebar{
                background-color:#c7793d80;
                height: 1000px;
                width: 180px;
                margin-top:-20px;
            }
            #backhome{
                margin-left:900px;
                margin-top:-146px;
                background-color: #c7793dd6;
                color:white;
                text-align: center;
                border: none;
                border-radius: 5px;
                position:absolute;
            }
            #BTNCMD_ADDMENU{
                position: absolute;
                margin-left:100px;
                margin-top:-20px;
                background-color: #c7793dd6;
                color:white;
                text-align: center;
                border: none;
                border-radius: 5px;
            }
            #delete{
                position: absolute;
                background-color: #c7793dd6;
                color:white;
                text-align: center;
                border: none;
                border-radius: 5px;
            }
            #button1{
                margin-top:5px;
                height:25px;
                background-color: #c7793dd6;
                color:white;
                text-align: center;
                border: none;
                border-radius: 5px;
            }
            #button2{
                margin-top:5px;
                height:25px;
                background-color: #c7793dd6;
                color:white;
                text-align: center;
                border: none;
                border-radius: 5px;
            }
            #button3{
                margin-top:5px;
                height:25px;
                background-color: #c7793dd6;
                color:white;
                text-align: center;
                border: none;
                border-radius: 5px;
            }
            #button4{
                margin-top:5px;
                height:25px;
                background-color: #c7793dd6;
                color:white;
                text-align: center;
                border: none;
                border-radius: 5px;
            }
            #table{
                float:left;
                margin-left:-10px;
                margin-top:20px;
                position: relative;
            }
            table{
                margin-left:100px;
                width:900px;
                /*两两相临边框合并*/
                border-collapse: collapse;
                padding:10px;
            }
            /*分组选择器：选择th和td标签*/
            th,td{
                border: 1px solid #999;
                text-align: center;
                padding: 20px 0;
            }
            /*后代选择器*/
            table thead tr{
                background-color: #ce8b57da;
                color: #fff;
            }
            table tbody tr:nth-child(odd){
                background-color: #eee;
            }
            table tbody tr:hover{
                background-color: #ccc;
            }
            table tbody tr td:first-child{
                color: #f40;
            }
    </style>
    <!-- ========================================================== -->
    <!-- ========== SCRIPT ======================================== -->
    <script type="text/javascript" src="jquery/jquery-1.8.3.min.js"></script>
    <script src="./js/vue/vue.js"></script>
    <script src="./js/vue/vue-i18n.js"></script>
    <script src="./js/jstz.js"></script>
    <script type="text/javascript" src="./js/denyDirectAccess.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/jquery.min.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/multilingualization.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/multilingual/buttonDef.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/multilingual/navigation.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/objectManipulation.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/dataCheckI18n.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/dataUtil.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/timeManipulation.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/svg.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/commonI18n.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/gb_gf_ezg.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/gb_gf_ezg_xaml.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/xaml.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/finalTaskForUserCommon.js" charset="UTF-8"></script> <!-- ========================================================== --> <!-- ========== MENU ========================================== -->
    <script type="text/javascript">writeTitle();</script>
    <script type="text/javascript">
        //<![CDATA[
            // Common header output
            // gf_page   : Page output (current page / all pages)
            // gf_title1 : Screen title 1 (up to 27 double-byte characters)
            // gf_title2 : Screen title 2 (up to 30 double-byte characters)
            // gf_id     : Screen ID
            // gf_comment: Screen comment
            // gf_onload : Specify the script when loading the screen (describe only when there is processing)
            // gf_fix_title1 : Screen title 1 (for Multilingual)
            // gf_fix_title2 : Screen title 2 (for Multilingual)
            gf_page=   "";
            gf_title1= "{{$t('TRANS_SYSTEM_MENU_MANA')}}";
            gf_title2= "{{$t('TRANS_MENU_MANA')}}";
            gf_id=     "MENU_MANA";
            gf_remarks="菜单管理";
            gf_onload= "";
            gf_fix_title1= "菜单管理";
            gf_fix_title2= "菜单管理";
            CreateHideMenu( gf_page , gf_title1 , gf_title2 , gf_id , gf_onload );
        //]]>
    </script> <!-- ========================================================== --> <!-- ========== MULTILINGUAL SCRIPT ============================ -->
    <script type="text/javascript">
        window.addEventListener('DOMContentLoaded', function() {
          initView();
        });
    </script> <!-- ========================================================== --> <!-- ========== INPUT CHECK SCRIPT ============================ -->
    <script type="text/javascript">
        //<![CDATA[
            function _chkInputValue() {
                return true;
            }
        //]]>
    </script> <!-- ========================================================== --> <!-- ========== USER SCRIPT =================================== -->
    <script type="text/javascript">
        //<![CDATA[

            // You can write your own script here

            function finalTaskForUser() {
        <!-- path_R_0-->
                    var $pathHiddens = $(".path");
                    for(let i = 0;i<$pathHiddens.length;i++){
                         const $path = $($pathHiddens[i])
                     <!--const name = $path.attr("name")-->
                         const value = $path.val()
                         const $img = $path.parent().find("img")
                         $img.attr("src",value);
                    }
            }
             function onDelete(element){
             alert($(element).attr("name").substr(14));
                const value = $("#NMLLBL_MID_" + $(element).attr("name").substr(14)).text();
                //把mid的值放到删除按钮中
                $("[name=grandsight_ex_del]").val(value);
            }
            function onUpdate(element){
                //获得后端获取获取到的mid的值
                const value = $("[name=NMLLBL_MID_" + $(element).attr("name").substr(14) + "]").text();
                //把mid的值放到修改按钮中：按钮是不能存值的，应该放在隐藏域中
                $("[name=grandsight_ex_update]").val(value);
            }

        //]]>
    </script>
    <!-- ========================================================== -->
    <title>dummytitle</title> <!-- ========================================================== -->
</head> <!-- ========== CUSTOMIZE ===================================== -->
<body style="background-color:#FDFBF4">
<input type="hidden" id="grandsight_ex_multilingual" name="grandsight_ex_multilingual" value="">
<input type="hidden" id="grandsight_ex_locale" name="grandsight_ex_locale" value="">
<input type="hidden" id="grandsight_ex_default_locale" name="grandsight_ex_default_locale" value="">
<input type="hidden" id="grandsight_ex_disp_date_format" name="grandsight_ex_disp_date_format" value="">
<input type="hidden" id="grandsight_ex_time_zone" name="grandsight_ex_time_zone" value="">
<div id="wrapper">
    <div id="grandsight_ex_app" v-cloak>
        <!-- Screen name -->
        <div id="sidebar">
            <h1><span id="grandsight_ex_screen_title">点餐管理系统</span></h1>
            <input id="button1" name="BTNCMD_BACKHOME" onclick="document.main.COMMAND_NAME.value='COMMAND_BTNCMD_BACKHOME';SendBTN(this.name);" readonly size="xxxxxxxx" type="text" value="后台首页">
            <input id="button3" name="BTNCMD_MENU_MANA" onclick="document.main.COMMAND_NAME.value='COMMAND_BTNCMD_MENU_MANA';SendBTN(this.name);" readonly size="xxxxxxxx" type="text" value="菜单管理">
            <input id="button2" name="BTNCMD_ODER_MANA" onclick="document.main.COMMAND_NAME.value='COMMAND_BTNCMD_ODER_MANA';SendBTN(this.name);" readonly size="xxxxxxxx" type="text" value="订单管理">
            <input id="button4" name="BTNCMD_ACC_MANA" onclick="document.main.COMMAND_NAME.value='COMMAND_BTNCMD_ACC_MANA';SendBTN(this.name);" readonly size="xxxxxxxx" type="text" value="账户管理">
        </div>
        <div id="table">
            <input id="BTNCMD_ADDMENU" name="BTNCMD_ADDMENU" style="width:80px;height:15px" onclick="document.main.COMMAND_NAME.value='COMMAND_BTNCMD_ADDMENU';SendBTN(this.name);" readonly size="" type="text" value="添加菜品"><br>
            <input name="grandsight_ex_del" type="hidden" class="delete" id="grandsight_ex_del"  value="">
            <input name="grandsight_ex_update" type="hidden" class="update" id="grandsight_ex_update"  value="">
            <table id="menu">
                <thead>
                <tr>
                    <th>序号</th>
                    <th>菜品名称</th>
                    <th>菜品图片</th>
                    <th>价格</th>
                    <th>操作</th>
                    <th>配料信息栏</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td><span style="color:black" name="NMLLBL_MID" class="NMLLBL_NORMAL" id="NMLLBL_MID" value=""></span></td>
                    <td><span style="color:black" name="NMLLBL_MNAME" class="NMLLBL_NORMAL" id="NMLLBL_MNAME" value=""></span></td>
                    <td>
                        <input name="path" type="hidden" class="path" id="grandsight_ex_img"  value="">
                        <img src=" " alt="图片1" width="300px" height="180px">
                    </td>
                    <td><span style="color:black" name="NMLLBL_MPRICE" class="NMLLBL_NORMAL" id="NMLLBL_MPRICE" value=""></span></td>
                    <td>
                        <input id="update" style="background-color:#c7793dd6;color:white;text-align: center; border-radius: 5px;width:40px;height:15px;" name="BTNCMD_UPDATE"  onclick="onUpdate(this);document.main.COMMAND_NAME.value='COMMAND_BTNCMD_UPDATE';SendBTN(this.name);" type="text" value="修改"><br>
                        <!--          <input name="grandsight_ex_del" type="hidden" class="delete" id="grandsight_ex_del"  value="">-->
                        <input id="delete" style="background-color:#c7793dd6;color:white;text-align: center; border-radius: 5px;width:40px;height:15px;"name="BTNCMD_DELETE" style="width:60px;height:15px" onclick="onDelete(this);document.main.COMMAND_NAME.value='COMMAND_BTNCMD_DELETE';SendBTN(this.name);" readonly size="xxxxxxxx" type="text" value="删除">
                    </td>
                    <td>
                        <input id="pre" style="background-color:#c7793dd6;color:white;text-align: center; border-radius: 5px;width:70px;height:15px;" name="BTNCMD_PRE"  onclick="document.main.COMMAND_NAME.value='COMMAND_BTNCMD_UPDATE';SendBTN(this.name);" type="text" value="配料详情">
                    </td>
                </tr>

                </tbody>
                <tfoot>
                </tfoot>
            </table>
        </div>
    </div> <!-- ========================================================== --> <!-- ========== FOOTER ======================================== -->
    <script type="text/javascript">
        //<![CDATA[
            CreateFooter();
        //]]>
    </script> <!-- ========================================================== -->
</div>
</body>
</html>
>>>>>>> fd495680c3af94bfff979bdb842a88f80371454e
